[1] "R version 3.4.2 (2017-09-28)"
R version 3.4.2 (2017-09-28)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Sierra 10.12.6

Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRlapack.dylib

locale:
[1] C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] coin_1.2-2      survival_2.41-3 outliers_0.14   lsr_0.5         dplyr_0.7.4    
 [6] ggpubr_0.1.5    magrittr_1.5    pwr_1.2-1       psych_1.7.8     MASS_7.3-47    
[11] lattice_0.20-35 reshape_0.8.7   ggplot2_2.2.1   car_2.1-5       foreign_0.8-69 
[16] nlme_3.1-131    r2glmm_0.1.2    lme4_1.1-14     Matrix_1.2-11  

loaded via a namespace (and not attached):
 [1] zoo_1.8-0          modeltools_0.2-21  splines_3.4.2      colorspace_1.3-2  
 [5] stats4_3.4.2       yaml_2.1.14        mgcv_1.8-20        rlang_0.1.2       
 [9] nloptr_1.0.4       glue_1.2.0         bindrcpp_0.2       multcomp_1.4-7    
[13] plyr_1.8.4         bindr_0.1          MatrixModels_0.4-1 munsell_0.4.3     
[17] gtable_0.2.0       mvtnorm_1.0-6      codetools_0.2-15   SparseM_1.77      
[21] quantreg_5.34      pbkrtest_0.4-7     parallel_3.4.2     TH.data_1.0-8     
[25] Rcpp_0.12.13       scales_0.5.0       mnormt_1.5-5       grid_3.4.2        
[29] tools_3.4.2        sandwich_2.4-0     lazyeval_0.2.1     tibble_1.3.4      
[33] pkgconfig_2.0.1    assertthat_0.2.0   minqa_1.2.4        R6_2.2.2          
[37] nnet_7.3-12        compiler_3.4.2    

###############################################################################

# Analysis for the paper for International Journal of Human-Computer Studies: Virtual reality negotiation training system with exposure to simulated thoughts and conversations: Design and evaluation

# 2018 TUDelft

# Output file: output_analysisI_NormalDistributionTestResults will be created 

# Author: Ding Ding 

# required datafile from Data preparation I&II

# - DemographyData.csv

# - SE_With aLL sessions.csv

# - SE_CompareWL&EX.csv

# - SE_WL.csv

# - SE_EX.csv

# - SA_CompareWL&EX.csv

# - SA_WL.csv

# - SA_EX.csv

# - NegoF_CompareWL&EX.csv

# - NegoF_ALL.csv

# - NegoF_WL.csv

# - NegoF_EX.csv

# - NegoResult_CompareWL&EX.csv

# - NegoResult_ALL.csv

# - NegoResult_WL.csv

# - NegoResult_EX.csv

# - NegoKnowledge_CompareWL&EX.csv

# - NegoKnowledge_ALL.csv

# - NegoKnowledge_WL.csv

# - NegoKnowledge_EX.csv

# - Utility.csv

#################### Self-efficacy ####################

# File with the self-efficacy data of waitinglist and experiment group

# Data originally obtained from the file SE_CompareWL&EX.csv

# data fields

#1 ID: Participants ID

#2 Group: waitinglist or experiment group

#3 Session: Pre or Post

#4 Score: the self-efficacy data

# File with the self-efficacy data of all training sessions

# Data originally obtained from the file SE_With aLL sessions.csv

# data fields

#1 SE:  Self-efficacy data measured before the training session (Pre-measurement data)

#2 SE1: Self-efficacy data measured after the first training session 

#3 SE2: Self-efficacy data measured after the second training session

#4 SE3: Self-efficacy data measured after the third training session (Post-measurement data)

#5 SE_follow: Self-efficacy data measured two weeks after all the training sessions (Follow-up measurement data)

################# Negotiation knowledge ################# 

# File with the negotiation knowledge of participants from waitinglist and training group

# Data originally obtained from the file NegoKnowledge_CompareWL&EX.csv

#1 ID: Participants ID

#2 Group: waitinglist or experiment group(with self-motivation or without self-motivation)

#3 Session: Pre or Post

#4 Score: the negotiation knowledge test data

# File with the negotiation knowledge of participants from both training with self-motivation and without self-motivation group

# Data originally obtained from the file NegoKnowledge_ALL.csv

#1 ID: Participants ID

#2 Pre: pre-measurement data

#3 Post: post-measurement data

#4 FollowUp: followUp-measurement data

#5 Group: with self-motivation or without self-motivation

################# Negotiation behaviour and performance #################

####### Negotiation Frequency ######

# File with the negotiation frequency data of participants from waitinglist and training group

# Data originally obtained from the file NegoF_CompareWL&EX.csv

#1 ID: Participants ID

#2 Group: waitinglist or experiment group(with self-motivation or without self-motivation)

#3 Session: Pre or Post

#4 Score: the negotiation Frequency data

## Compare waitinglist and training group

# File with the negotiation frequency data of participants from both training with self-motivation and  without self-motivation group

# Data originally obtained from the file NegoF_ALL.csv

#1 ID: Participants ID

#2 Pre: pre-measurement data

#3 Post: post-measurement data

#4 FollowUp: followUp-measurement data

#5 Group: with self-motivation or without self-motivation

####### Negotiation satisfaction #######

# File with the negotiation satisfaction data of participants from both waitinglist or experiment group

# Data originally obtained from the file SA_CompareWL&EX.csv

#1 ID: Participants ID

#2 Group: waitinglist or experiment group (with self-motivation or without self-motivation)

#3 Session: Pre or Post

#4 Score: the negotiation satisfaction data

# File with the negotiation satisfaction data of participants from both training with self-motivation and  without self-motivation group

# Data originally obtained from the file SA_ALL.csv

#1 ID: Participants ID

#2 Pre: pre-measurement data

#3 Post: post-measurement data

#4 FollowUp: followUp-measurement data

#5 Group: with self-motivation or without self-motivation

################# Negotiation Result #################

# File with the negotiation result data of participants from both waitinglist or experiment group

# Data originally obtained from the file NegoResult_CompareWL&EX.csv

#1 ID: Participants ID

#2 Group: Waitinglist or experiment group (with self-motivation or without self-motivation)

#3 Session: Pre or Post

#4 Score: the negotiation result data

# File with the negotiation result data of participants from both training with self-motivation and  without self-motivation group

# Data originally obtained from the file NegoResult_ALL.csv

#1 ID: Participants ID

#2 Pre: pre-measurement data

#3 Post: post-measurement data

#4 FollowUp: followUp-measurement data

#5 Group: with self-motivation or without self-motivation

################# Utility #################

# File with the utility data of the system from all participants

# Data orignally obtained from the file Utility.csv

# ID: Participants ID

# Q1-Q7: the rating score of each item

# Group: with self-motivation or without self-motivation

#################### Normal distribution test ####################

###### Demographic characteristics ######
### Age ####

1. waitlist and training group

  The decimal point is at the |

  22 | 0
  24 | 00000
  26 | 000000000000
  28 | 0000
  30 | 0
  32 | 0


  The decimal point is at the |

  22 | 0
  24 | 00000
  26 | 000000000
  28 | 000000
  30 | 00
  32 | 0


### The data of participants' age from both waitlist and training group is normally distributed, therefore t-test will be used.

2. training with self-motivation and without self-motivation group

  The decimal point is at the |

  24 | 00
  26 | 00000000000000
  28 | 000000
  30 | 0
  32 | 0


  The decimal point is at the |

  22 | 00
  24 | 00000000
  26 | 0000000
  28 | 0000
  30 | 00
  32 | 0


# The data of participants' age from both training with self-motivation and without self-motivation group is normally distributed, therefore t.test will be used.

###### Self-efficacy ######

1. waitlist and training group

  The decimal point is at the |

  -0 | 000
   0 | 000
   2 | 0000000000000
   4 | 00000


  The decimal point is at the |

  -4 | 0
  -2 | 0
  -0 | 00
   0 | 0000
   2 | 000000000
   4 | 0000000


  The decimal point is at the |

  -6 | 0
  -4 | 
  -2 | 000000
  -0 | 0000
   0 | 00000000000
   2 | 00


  The decimal point is at the |

  -0 | 000
   0 | 0000000000000
   2 | 000000
   4 | 00


### The data of participants' self-efficacy from waitlist and training group is normally distributed, therefore t-test will be used.

2. training with self-motivation and without self-motivation group

  The decimal point is at the |

  -0 | 00
   0 | 000000000
   2 | 0000000
   4 | 000000


  The decimal point is at the |

  -4 | 0
  -2 | 0
  -0 | 000
   0 | 0000
   2 | 0000000000000
   4 | 00


  The decimal point is at the |

  0 | 0000000
  2 | 000000000000
  4 | 00000


  The decimal point is at the |

  -2 | 0
  -0 | 
   0 | 000000
   2 | 0000000000000
   4 | 0000


  The decimal point is at the |

  0 | 0
  1 | 0000
  2 | 0000000
  3 | 0000
  4 | 00000000


  The decimal point is at the |

  1 | 000000
  2 | 0000
  3 | 0000000
  4 | 00000
  5 | 00


  The decimal point is at the |

  0 | 000000
  2 | 000000000000
  4 | 000000


  The decimal point is at the |

  0 | 00000
  2 | 00000000
  4 | 00000000000


  The decimal point is at the |

  0 | 000000000
  2 | 00000000
  4 | 000000


  The decimal point is at the |

  0 | 0000000
  2 | 00000000000
  4 | 000000


### The data of participants' self-efficacy from training with self-motivation and without self-motivation group is normally distributed, therefore t-test will be used.

###### Negotiation knowledge ######

1. waitlist and training group

  The decimal point is 1 digit(s) to the right of the |

  0 | 7889
  1 | 133455669
  2 | 2579
  3 | 011
  4 | 1129


  The decimal point is 1 digit(s) to the right of the |

  0 | 2788
  1 | 4567
  2 | 12233557
  3 | 022257
  4 | 0
  5 | 1


  The decimal point is 1 digit(s) to the right of the |

  -2 | 0
  -1 | 96
  -0 | 98644221
   0 | 00011233567
   1 | 6
   2 | 9


  The decimal point is 1 digit(s) to the right of the |

  -0 | 61765
   0 | 28911569
   2 | 0447774468
   4 | 2


### The data of participants' negotiation knowledge from waitlist and training group is normally distributed, therefore t-test will be used.

2. training with self-motivation and without self-motivation group

  The decimal point is 1 digit(s) to the right of the |

  0 | 258
  1 | 35677
  2 | 112223555
  3 | 025778
  4 | 1


  The decimal point is 1 digit(s) to the right of the |

  0 | 76
  2 | 01479990459
  4 | 45789916699


  The decimal point is 1 digit(s) to the right of the |

  0 | 07809
  2 | 112611223799
  4 | 0361569


  The decimal point is 1 digit(s) to the right of the |

  0 | 77788
  1 | 14467
  2 | 01123799
  3 | 223
  4 | 00
  5 | 1


  The decimal point is 1 digit(s) to the right of the |

  0 | 035769
  2 | 0383488
  4 | 045896699
  6 | 62


  The decimal point is 1 digit(s) to the right of the |

  0 | 582457
  2 | 3371249
  4 | 02235655
  6 | 01


### The data of participants' negotiation knowledge from training with self-motivation and without self-motivation group is normally distributed, therefore t-test will be used.

###### Negotiation behaviour and performance ######

###### Negotiation Frequency ######

1. waitlist and training group

  The decimal point is at the |

   0 | 00
   2 | 0000000000
   4 | 00000
   6 | 00000
   8 | 
  10 | 00


  The decimal point is 1 digit(s) to the right of the |

  0 | 00222222333344555677805
  2 | 
  4 | 
  6 | 0


  The decimal point is 1 digit(s) to the right of the |

  0 | 022222333334448
  1 | 00133567
  2 | 6


  The decimal point is 1 digit(s) to the right of the |

  0 | 0122333344555556999
  1 | 003
  2 | 
  3 | 04


  The decimal point is 1 digit(s) to the right of the |

  -4 | 8
  -2 | 
  -0 | 5311111111
   0 | 0000011112233


  The decimal point is 1 digit(s) to the right of the |

  -2 | 8
  -0 | 7653211
   0 | 000002222334666
   2 | 3


### The data of participants' negotiation frequency from waitlist and training group is not normally distributed, therefore Wilcoxon test will be used.

2. training with self-motivation and without self-motivation group

  The decimal point is 1 digit(s) to the right of the |

  0 | 01122233344445555679
  1 | 00
  2 | 
  3 | 04


  The decimal point is 1 digit(s) to the right of the |

  0 | 122223333334
  0 | 555666699
  1 | 003


  The decimal point is 1 digit(s) to the right of the |

  0 | 0001222222333444577
  1 | 0017
  2 | 6


  The decimal point is 1 digit(s) to the right of the |

  0 | 011122222223333
  0 | 556677
  1 | 
  1 | 9
  2 | 33


  The decimal point is 1 digit(s) to the right of the |

  0 | 01223333334444
  0 | 66899
  1 | 033
  1 | 56


  The decimal point is 1 digit(s) to the right of the |

  0 | 0112222344444
  0 | 555669
  1 | 024
  1 | 6


### The data of participants' negotiation frequency from training with self-motivation and without self-motivation group is not normally distributed, therefore Wilcoxon test will be used.

###### Negotiation satisfaction ######

1. waitlist and training group

  The decimal point is at the |

  0 | 0333000388
  2 | 0358888003558
  4 | 0


  The decimal point is at the |

  -0 | 355
   0 | 0088000358
   2 | 058803588
   4 | 00


  The decimal point is at the |

  -0 | 3
   0 | 00038
   1 | 0000055
   2 | 333588
   3 | 035
   4 | 00


  The decimal point is at the |

  0 | 0333000388
  2 | 0358888003558
  4 | 0


  The decimal point is at the |

  -0 | 3
   0 | 058803388
   2 | 05588003588
   4 | 000


  The decimal point is at the |

  -0 | 355
   0 | 0088000358
   2 | 058803588
   4 | 00


  The decimal point is at the |

  -2 | 3
  -0 | 00088853
   0 | 0038803358
   2 | 03550


  The decimal point is at the |

  -2 | 885
  -1 | 8553300
  -0 | 5333
   0 | 003558
   1 | 05
   2 | 00


### The data of participants' negotiation satisfaction from both waitinglist and training group is not normally distributed, therefore Wilcoxon test will be used.

2. training with self-motivation and without self-motivation group

  The decimal point is at the |

  -0 | 355
   0 | 0000380000
   2 | 035880058
   4 | 00


  The decimal point is at the |

  0 | 0803355888
  2 | 05555500388
  4 | 000


  The decimal point is at the |

  0 | 5
  1 | 0000355888
  2 | 003588
  3 | 000358
  4 | 5


  The decimal point is at the |

  -0 | 3
   0 | 088
   1 | 000035558
   2 | 33588
   3 | 3358
   4 | 00


  The decimal point is at the |

  -0 | 3
   0 | 00035800335
   2 | 0088888035
   4 | 38


  The decimal point is at the |

  -0 | 53
   0 | 00055580035
   2 | 003008
   4 | 0350


  The decimal point is at the |

  -0 | 88855333
   0 | 3388
   1 | 033558
   2 | 00355
   3 | 0


  The decimal point is at the |

  -2 | 33
  -1 | 5000
  -0 | 888853
   0 | 0003388
   1 | 0358
   2 | 0


### The data of participants' negotiation satisfaction from both with self-motivation and without self-motivation is not normally distributed, therefore Wilcoxon test will be used.

###### Negotiation Result ######

1. waitlist and training group

  The decimal point is 1 digit(s) to the left of the |

   0 | 1
   2 | 86
   4 | 580059
   6 | 3555
   8 | 0880059
  10 | 0000


  The decimal point is at the |

  0 | 04
  0 | 55667788888899999
  1 | 00000


  The decimal point is 1 digit(s) to the left of the |

   4 | 00
   6 | 050055555
   8 | 000000
  10 | 0000000


  The decimal point is 1 digit(s) to the left of the |

   0 | 2
   2 | 
   4 | 01500
   6 | 0050055
   8 | 00550
  10 | 00000


  The decimal point is at the |

  -0 | 755
  -0 | 33211111000
   0 | 00111234
   0 | 55


  The decimal point is 1 digit(s) to the left of the |

  -2 | 0
  -0 | 0005
   0 | 00000000055
   2 | 00505
   4 | 8
   6 | 0


### The data of participants' negotiation result from waitlist and training group is not normally distributed, therefore Wilcoxon test will be used.

2. training with self-motivation and without self-motivation group

  The decimal point is 1 digit(s) to the left of the |

   0 | 12
   2 | 6
   4 | 0150059
   6 | 355
   8 | 00588000
  10 | 00


  The decimal point is 1 digit(s) to the left of the |

   6 | 055
   7 | 055555
   8 | 0005
   9 | 00
  10 | 0000000


  The decimal point is 1 digit(s) to the left of the |

   0 | 25
   2 | 
   4 | 5
   6 | 35555
   8 | 004550000
  10 | 000000


  The decimal point is 1 digit(s) to the left of the |

   2 | 8
   4 | 5800
   6 | 00550055
   8 | 0559
  10 | 0000000


  The decimal point is 1 digit(s) to the left of the |

   2 | 0
   4 | 00000
   6 | 005555
   8 | 000803
  10 | 000000


  The decimal point is at the |

  0 | 034
  0 | 5567777788889
  1 | 0000000


### The data of participants' negotiation result from waitlist and training group is not normally distributed, therefore Wilcoxon test will be used.

n###### Utility n######

  The decimal point is at the |

  4 | 033337
  5 | 0000333377
  6 | 00033377


  The decimal point is at the |

  0 | 0
  2 | 
  4 | 037777700000333377
  6 | 00037


  The decimal point is at the |

  2 | 5
  3 | 
  4 | 05588
  5 | 003355588888
  6 | 00558
  7 | 0


  The decimal point is at the |

  0 | 8
  2 | 8
  4 | 335800033335588
  6 | 0335558


### The data of participants' utility_satisfaction and utility_effectiveness data from training with self-motivation and without self-motivation group is normally distributed, therefore t-test will be used.
